<?php /* Smarty version Smarty-3.0.7, created on 2011-07-30 17:38:20
         compiled from "./view/register.tpl" */ ?>
<?php /*%%SmartyHeaderCode:255014e34256ce8f705-02701708%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '41cdb130dafff15afbe265099abbe7e3bf41a40e' => 
    array (
      0 => './view/register.tpl',
      1 => 1312019161,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '255014e34256ce8f705-02701708',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!isset($_smarty_tpl->getVariable('bodyaction',null,true,false)->value)){?>
	

		<div class='nag'><span>Rejestracja</span></div>

		<form actoin='<?php echo $_smarty_tpl->getVariable('page')->value;?>
/register/' method='POST' style='margin: 20px;'>
        
        <table>
        	<tr>
				<td><b>Login:</b></td> <td><input type='text' name='username'><br /></td>
            </tr>
            <tr>
   				<td><b>Hasło:</b></td> <td><input type='password' name='pass'><br /></td>
            </tr>
            <tr>
          		<td><b>Powtórz hasło:</b></td> <td><input type='password' name='pass_2'><br /></td>
            </tr>
            <tr>
           		<td><b>Adres e-mail:</b></td> <td><input type='text' name='mail'><br /></td>
   			</tr>
            <tr>
           		<td><b>Nazwa klanu:</b></td> <td><input type='text' name='team_name'><br /></td>
   			</tr>
            <tr>
				<td><b>Rodzaj gry:</b></td> <td><select name='game_type'>
											<option value="1">Counter Strike 1.5</option>
											<option value="2">Counter Strike 1.6</option>
											<option value="3">Counter Strike: Source</option>
											<option value="4">Counter Strike: Condition Zero</optnion>
											<option value="5">Counter Strike: Promod</optnion>
												</select></td>
			</tr>
            <td><b>Rodzaj klanu:</b></td> <td><select name='game_status'>
														<option value='1'>Steam</option>
														<option value='2'>Non Steam</option>
														</select></td>
			</tr>
            <tr>
				<td><b>Podaj ip serwera (w formacie ip:port):</b></td>
				<td><input type='text' name='serwer_ip' size="40"></td>
			</tr>
            
   		</table>
        
         <input type="checkbox" name="regulamin" style='width: auto; height: auto; margin-top: 10px;'>Akceptuję <a href='http://<?php echo $_smarty_tpl->getVariable('page')->value;?>
/regulamin' target='blank'>regulamin</a> <br />
    
         <input type='submit' value='Zarajestruj' name='register' style='margin-left: 55px;'>
				<br />
				<?php if (isset($_smarty_tpl->getVariable('message',null,true,false)->value)){?>
        			<?php echo $_smarty_tpl->getVariable('message')->value;?>

				<?php }?>
		</form>
    
<?php }else{ ?> 	
	<?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('bodyaction')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php }?>


	
     
